package utils

import "time"

func IsoWeek(t time.Time) int {
	year, week := t.ISOWeek()
	return year*100 + week
}

func DailyDay(t time.Time) int {
	return t.Year()*10000 + int(t.Month())*100 + t.Day()
}
